<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学生信息</title>
</head>
<body>
    <h1>学生新消息</h1>
    <ol>
        {% for student in pagelist %}
            <li>学号:{{ student.num}}--->姓名:{{ student.name }}--->性别:{{ student.gender }}</li>
        {% endfor %}

    </ol><br>
    显示页码:
        {% if pagelist.has_previous %}
            &nbsp;<a href="/book/students{{ pagelist.previous_page_number }}">&lt;上一页</a>&nbsp;
        {% endif %}
        {% for pagecode in codelist %}
            {% if pagecode == index %}
            &nbsp;{{ pagecode }}&nbsp;
            {% else %}
                &nbsp;<a href="/book/students{{ pagecode }}">{{ pagecode }}</a>&nbsp;
            {% endif %}
        {% endfor %}
    {% if pagelist.has_next %}
        &nbsp;<a href="/book/students{{ pagelist.next_page_number }}">下一页&gt;</a>&nbsp;
    {% endif %}
</body>
</html>